package com.molan.molan_music.service;

import com.molan.molan_music.dto.MusicCreateRequest;
import com.molan.molan_music.dto.MusicDto;
import com.molan.molan_music.dto.MusicUpdateRequest;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface MusicService {
    MusicDto create(MusicCreateRequest musicCreateRequest);

    MusicDto update(Integer id, MusicUpdateRequest musicUpdateRequest);

    List<MusicDto> list(int pageNum, int pageSize);
}
